package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.utils.StoreAdmin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
@Mapper
public interface StoreAdminMapper extends BaseMapper<StoreAdmin> {
    @Select("SELECT * FROM StoreAdmin WHERE storeAdminID = #{storeAdminID} AND storeAdminPassword=#{storeAdminPassword}")
    StoreAdmin findStoreAdminByStoreAdminIDAndStoreAdminPassword(String storeAdminID, String storeAdminPassword);
}
